import pickle

data = {'早上好':'早',
        '天气怎么样':'多云转晴，温度26度，北转南风七八级',
        'python怎么学':'请找De8uG',
        'q':'很遗憾，我需要学习才能继续和你聊天！',
        'n':'谢谢你，让我变得更会聊天了！'}
        
with open('corpus.pkl', 'wb') as f:
            f.write(pickle.dumps(data))
